using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
public sealed class frmChangePassword : Form
{
	private IContainer icontainer_0;
	private Label label1;
	private TextBox txtOldPassword;
	private TextBox txtNewPassword;
	private Label label2;
	private TextBox txtRetypeNewPassword;
	private Label label3;
	private Button btnCancel;
	private Button btnOK;
	private PictureBox pictureBox1;
	public frmChangePassword()
	{
		this.InitializeComponent();
		System.Drawing.Color backColor = System.Drawing.Color.FromName(MainForm.SystemConfiguration_0.string_15);
		this.BackColor = backColor;
	}
	protected override void Dispose(bool disposing)
	{
		if (disposing && this.icontainer_0 != null)
		{
			this.icontainer_0.Dispose();
		}
		base.Dispose(disposing);
	}
	private void InitializeComponent()
	{
        System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChangePassword));
        this.label1 = new System.Windows.Forms.Label();
        this.txtOldPassword = new System.Windows.Forms.TextBox();
        this.txtNewPassword = new System.Windows.Forms.TextBox();
        this.label2 = new System.Windows.Forms.Label();
        this.txtRetypeNewPassword = new System.Windows.Forms.TextBox();
        this.label3 = new System.Windows.Forms.Label();
        this.btnCancel = new System.Windows.Forms.Button();
        this.btnOK = new System.Windows.Forms.Button();
        this.pictureBox1 = new System.Windows.Forms.PictureBox();
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
        this.SuspendLayout();
        // 
        // label1
        // 
        resources.ApplyResources(this.label1, "label1");
        this.label1.Name = "label1";
        // 
        // txtOldPassword
        // 
        resources.ApplyResources(this.txtOldPassword, "txtOldPassword");
        this.txtOldPassword.Name = "txtOldPassword";
        this.txtOldPassword.UseSystemPasswordChar = true;
        // 
        // txtNewPassword
        // 
        resources.ApplyResources(this.txtNewPassword, "txtNewPassword");
        this.txtNewPassword.Name = "txtNewPassword";
        this.txtNewPassword.UseSystemPasswordChar = true;
        this.txtNewPassword.TextChanged += new System.EventHandler(this.txtRetypeNewPassword_TextChanged);
        // 
        // label2
        // 
        resources.ApplyResources(this.label2, "label2");
        this.label2.Name = "label2";
        // 
        // txtRetypeNewPassword
        // 
        resources.ApplyResources(this.txtRetypeNewPassword, "txtRetypeNewPassword");
        this.txtRetypeNewPassword.Name = "txtRetypeNewPassword";
        this.txtRetypeNewPassword.UseSystemPasswordChar = true;
        this.txtRetypeNewPassword.TextChanged += new System.EventHandler(this.txtRetypeNewPassword_TextChanged);
        // 
        // label3
        // 
        resources.ApplyResources(this.label3, "label3");
        this.label3.Name = "label3";
        // 
        // btnCancel
        // 
        this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
        resources.ApplyResources(this.btnCancel, "btnCancel");
        this.btnCancel.Name = "btnCancel";
        this.btnCancel.UseVisualStyleBackColor = true;
        // 
        // btnOK
        // 
        resources.ApplyResources(this.btnOK, "btnOK");
        this.btnOK.Name = "btnOK";
        this.btnOK.UseVisualStyleBackColor = true;
        // 
        // pictureBox1
        // 
        this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
        resources.ApplyResources(this.pictureBox1, "pictureBox1");
        this.pictureBox1.Name = "pictureBox1";
        this.pictureBox1.TabStop = false;
        // 
        // frmChangePassword
        // 
        this.AcceptButton = this.btnOK;
        this.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
        this.CancelButton = this.btnCancel;
        resources.ApplyResources(this, "$this");
        this.Controls.Add(this.pictureBox1);
        this.Controls.Add(this.btnCancel);
        this.Controls.Add(this.btnOK);
        this.Controls.Add(this.txtRetypeNewPassword);
        this.Controls.Add(this.label3);
        this.Controls.Add(this.txtNewPassword);
        this.Controls.Add(this.label2);
        this.Controls.Add(this.txtOldPassword);
        this.Controls.Add(this.label1);
        this.MaximizeBox = false;
        this.MinimizeBox = false;
        this.Name = "frmChangePassword";
        this.Load += new System.EventHandler(this.frmChangePassword_Load);
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
        this.ResumeLayout(false);
        this.PerformLayout();

	}
	private void txtRetypeNewPassword_TextChanged(object sender, System.EventArgs e)
	{
		if (this.txtNewPassword.Text != string.Empty && this.txtRetypeNewPassword.Text != string.Empty && this.txtNewPassword.Text == this.txtRetypeNewPassword.Text)
		{
			this.btnOK.Enabled = true;
			return;
		}
		this.btnOK.Enabled = false;
	}
	public string method_0()
	{
		return this.txtOldPassword.Text;
	}
	public string method_1()
	{
		return this.txtNewPassword.Text;
	}
	private void frmChangePassword_Load(object sender, System.EventArgs e)
	{
	}
}
